package com.xxq.enums;

import lombok.Getter;

@Getter
public enum HttpCodeEnum {

    CODE_200(200, "请求成功"),
    CODE_400(400, "错误请求"),
    CODE_500(500, "服务器内部错误"),
    ;

    HttpCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private final int code;

    private final String msg;

}
